﻿var titBook = titBook || {};
titBook.core = titBook.core || {};
titBook.core.proxy = titBook.core.proxy || {};

(function(proxy) {
    proxy.sendRequest = function(url, type, successCallback, dataArg) {
        $.ajax({
            url: url,
            type: type,
            data: dataArg,
            contentType: "application/json;charset=utf-8",
            dataType: "json",
            success: successCallback
        });
    };

})(titBook.core.proxy);